package com.example.gokchinesefoodmappcdev.entity;

import java.io.Serializable;

/**
 * 订单商品关联表(OrderSku)实体类
 *
 * @author makejava
 * @since 2022-11-29 15:06:39
 */
public class OrderSku implements Serializable {
    private static final long serialVersionUID = 621989723843769247L;

    private Integer id;
    /**
     * 商品id
     */
    private Integer goodId;
    /**
     * 商品skuid
     */
    private Integer goodSkuId;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 商品数量
     */
    private Integer number;
    /**
     * 子订单编号，以商品为单位
     */
    private String orderSubNo;
    /**
     * 子订单金额
     */
    private Double orderSubAmount;
    /**
     * 子订单状态 0未付款,1已付款,2已发货,3已签收,-1退货申请,-2退货中,-3已退货,-4取消交易
     */
    private Integer orderSubStatus;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Integer getGoodSkuId() {
        return goodSkuId;
    }

    public void setGoodSkuId(Integer goodSkuId) {
        this.goodSkuId = goodSkuId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getOrderSubNo() {
        return orderSubNo;
    }

    public void setOrderSubNo(String orderSubNo) {
        this.orderSubNo = orderSubNo;
    }

    public Double getOrderSubAmount() {
        return orderSubAmount;
    }

    public void setOrderSubAmount(Double orderSubAmount) {
        this.orderSubAmount = orderSubAmount;
    }

    public Integer getOrderSubStatus() {
        return orderSubStatus;
    }

    public void setOrderSubStatus(Integer orderSubStatus) {
        this.orderSubStatus = orderSubStatus;
    }

}

